#ifndef __BINTREE_H_INT__
#define __BINTREE_H_INT__

typedef struct _BNode {
	int data;
	struct _BNode* left;
	struct _BNode* right;
}_BNode,*BinTree;

BinTree bintree_create(int data);
BinTree bintree_free(BinTree bt);

BinTree bintree_insert(BinTree bt, int value);
BinTree bintree_min(BinTree bt);
BinTree bintree_max(BinTree bt);

void bintree_preorder_traversal(BinTree bt);
void bintree_inorder_traversal(BinTree bt);
void bintree_postorder_traversal(BinTree bt);
void bintree_postorder_traversal0(BinTree bt);
void bintree_postorder_traversal2(BinTree bt);


#endif __BINTREE_H_INT__
